<?//Creates canvases for the graphs
//The height will adjust depending on the ammount of artists/songs shown.
$height = 100 + 10*$_GET['topart']; ?>
<header class="newsheader">Top Artists</header>
<section class="newssection"><canvas id="topart" width="600px" height=<?=$height?>></canvas></section>
<footer class="newsfooter">
<form id="topartist" method="get" action="">
		Display:<input type="hidden" name="a" size="13" value="<?=$_GET['a']?>" />
		<input type="hidden" name="topsong" size="13" value="<?=$_GET['topsong']?>" />
		<input name="topart"/>
		<input type="submit" name="go" value="Go" />
</form></footer>

<? $height = 100 + 10*$_GET['topsong']; ?>
<header class="newsheader">Top Songs</header>
<section class="newssection"><canvas id="topsong" width="600px" height=<?=$height?>></canvas></section>
<footer class="newsfooter">
<form id="topsong" method="get" action="">
		Display:<input type="hidden" name="a" size="13" value="<?=$_GET['a']?>" />
		<input type="hidden" name="topart" size="13" value="<?=$_GET['topart']?>" />
		<input name="topsong"/>
		<input type="submit" name="go" value="Go" />
</form></footer>
